<!--#Include File = "../Controls/WebControl.asp"-->
<!--#Include File = "../Controls/Server_DataGrid.asp" -->
<!--#Include File = "../DBWrapper.asp" -->
<%Page.Execute%>
<html>
	<head>
		<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
		<title>Members</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<LINK rel="stylesheet" type="text/css" href="help.css">
	</head>
	<body>
<%Page.OpenForm%>
	<%grdMembers%>
<%Page.CloseForm%>
	</body>
</html>


<%
Dim grdMembers

Public Function Page_Init()
	Set grdMembers = New_ServerDataGrid("grdMembers")
	grdMembers.Control.EnableViewState=false
End Function

Public Function Page_Controls_Init()
	Set grdMembers.DataSource = DbLayer.GetRecordSet("SELECT FirstName,LastName,CreatedDate From ClaspUser order by 3,1,2")
	Response.Write "Number of members registered: " & grdMembers.DataSource.RecordCount & "<hr>"
	grdMembers.TableStyle="width:100%"
	grdMembers.ItemStyle = "background-color:#DDDDDD"
	grdMembers.HeaderStyle = "background-color:black;color:white"
End Function

Public Function Page_Load()
End Function

%>